package com.gk.kafkaconsumer2.listener;

import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.cloud.stream.messaging.Sink;

@EnableBinding(Sink.class)
public class ConsumerListenerTest {

    @StreamListener(Sink.INPUT)
    public void recievetest(Object payload){
        System.out.println(payload.toString());
    }
}
